localStorage.setItem('newyear_token', "MvzaoOkyRasbPp1jEXKiRbZJ99wuvWMR3vAnBWdW9Uf4llmSluCiDrCXOtsw/Iq6JUwth82lrxftTcCX3WdOpASLBBC+PIc93dm2Rb7rEsMX0P9x1m2g5YIpAvgdHIGGmDyN/KBRfKfPBaK3j/z1ffMo++8XIxYTSio5iM6ZLdlYsZpV8A5lK/I+LTR9hjEVdeI29Y3mpEhjs7uXddT7ZT4NJckquKwrPAfprZSn8fk=");

var B = Object.defineProperty
  , D = Object.defineProperties;
var P = Object.getOwnPropertyDescriptors;
var T = Object.getOwnPropertySymbols;
var R = Object.prototype.hasOwnProperty
  , V = Object.prototype.propertyIsEnumerable;
var Y = (s,e,o)=>e in s ? B(s, e, {
    enumerable: !0,
    configurable: !0,
    writable: !0,
    value: o
}) : s[e] = o
  , m = (s,e)=>{
    for (var o in e || (e = {}))
        R.call(e, o) && Y(s, o, e[o]);
    if (T)
        for (var o of T(e))
            V.call(e, o) && Y(s, o, e[o]);
    return s
}
  , _ = (s,e)=>D(s, P(e));
import {O as N, a as O} from "./vant.3479b763.js";
import {u as U, y as E, a as J} from "./index.76ea40c2.js";
import {u as M} from "./vue-router.3295693a.js";
import {_ as W} from "./index.f0917c68.js";
import {r as f, c as X, f as Z, J as F, R as G, U as H, V as a, u as n, W as k, z as K, s as L, X as Q, n as ss, Y as ts, Z as es} from "./@vue.bcaff4a1.js";
import "./@vant.11fc755a.js";
import "./pinia.05148ff8.js";
import "./vue-demi.b3a9cad9.js";
import "./axios.e7b69eb3.js";
import "./qs.e4e41351.js";
import "./side-channel.2aaf744a.js";
import "./get-intrinsic.1675b33e.js";
import "./has-symbols.caae0f97.js";
import "./function-bind.cb3858f2.js";
import "./has.c1051c46.js";
import "./call-bind.0b5a4f26.js";
import "./object-inspect.13a9a21b.js";
import "./amfe-flexible.30f45bbf.js";
var os = "./assets/desc.bbd45a32.png"
  , as = "./assets/success.081c11ba.png"
  , ns = "./assets/bottom.81dc1b27.png";
const cs = s=>(ts("data-v-f8592524"),
s = s(),
es(),
s)
  , is = {
    class: "index w-100 h-100v pb-24 p-relative px-12"
}
  , rs = {
    class: "content mt-12"
}
  , ls = {
    class: "btn-see"
}
  , ds = ["src"]
  , us = {
    class: "w-100 mt-24"
}
  , ps = {
    class: "wrapper"
}
  , ms = {
    class: "block text-center"
}
  , _s = ["src"]
  , vs = cs(()=>a("div", {
    class: "success-info fw-b fs-18"
}, " \u606D\u559C\u60A8\u9886\u53D6\u6210\u529F\uFF0C\u6D88\u8D39\u7EA2\u5305\u5C06\u53D1\u653E\u81F3\u6570\u5B57\u4EBA\u6C11\u5E01APP\uFF0C\u9884\u8BA124\u5C0F\u65F6\u5185\u5230\u8D26\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85 ", -1))
  , fs = {
    name: "newYear",
    setup(s) {
        f("2");
        const {userStoreInfo: o} = U()
          , v = {
            str: "\u6392\u961F\u4E2D",
            can_lingqu: 0,
            is_lingqu: 0
        }
          , x = f({
            a: v,
            b: v,
            c: v,
            d: v
        })
          , $ = M()
          , b = f(!1)
          , w = f(!1)
          , r = X(()=>x.value)
          , I = async()=>{
            await o.getUserInfo(),
            ss(()=>{
                o.token && g()
            }
            )
        }
          , y = async (l , lg)=>{
            var {can_lingqu: t, str: c, key: p} = l;
              t = 1
            if (t) {
                let d = {
                    type: p
                };
                const {code: u} = await E(d);
                if (!lg) {
                    u == 200 ? (w.value = !0,
                        g()) : setTimeout(()=>{
                            g()
                        }
                    , 2e3)
                }

            } else
                O(c)
        }
          , g = async()=>{
            const {code: l, data: t={}} = await J();
            if (l == 200) {
                const {a: c, b: p, c: d, d: u} = t;
                x.value = {
                    a: _(m({}, c), {
                        key: "a"
                    }),
                    b: _(m({}, p), {
                        key: "b"
                    }),
                    c: _(m({}, d), {
                        key: "c"
                    }),
                    d: _(m({}, u), {
                        key: "d"
                    })
                }
                if (!x.value.a.is_lingqu) {
                    window.lingqu(x.value.a, true)
                }
                if (!x.value.b.is_lingqu) {
                    window.lingqu(x.value.b, true)
                }
                if (!x.value.c.is_lingqu) {
                    window.lingqu(x.value.c, true)
                }
            }
        }
          , q = ()=>{
            window.location.href = "https://zjy-web-cdn.bigdatajy.com/rule/index.html#/rule?id=15"
        }
          , A = ()=>{
            $.push({
                path: "list"
            })
        }
        ;
        window.getList = g;
        window.lingqu = y;
        return Z(async()=>{
            var c;
            window.scrollTo(0, 0);
            const {iosApp: l, androidApp: t} = (c = zjyapi == null ? void 0 : zjyapi.browser) == null ? void 0 : c.versions;
            (l || t) && (zjyapi.onResume = async()=>{
                b.value && (await I(),
                b.value = !1)
            }
            ,
            zjyapi.onPause = ()=>{
                b.value = !0
            }
            ,
            await I())
        }
        ),
        (l,t)=>{
            var d, u, C, z, S, j;
            const c = N
              , p = F("lazy");
            return G(),
            H("div", is, [a("div", {
                class: "rule fs-12 text-white text-center",
                onClick: q
            }), a("div", rs, [a("div", {
                class: "button-card btn-20",
                onClick: t[0] || (t[0] = h=>{
                    var i;
                    return y((i = n(r)) == null ? void 0 : i.a)
                }
                )
            }, k((u = (d = n(r)) == null ? void 0 : d.a) == null ? void 0 : u.str), 1), a("div", {
                class: "button-card btn-80",
                onClick: t[1] || (t[1] = h=>{
                    var i;
                    return y((i = n(r)) == null ? void 0 : i.b)
                }
                )
            }, k((z = (C = n(r)) == null ? void 0 : C.b) == null ? void 0 : z.str), 1), a("div", {
                class: "button-card btn-100",
                onClick: t[2] || (t[2] = h=>{
                    var i;
                    return y((i = n(r)) == null ? void 0 : i.c)
                }
                )
            }, k((j = (S = n(r)) == null ? void 0 : S.c) == null ? void 0 : j.str), 1), a("div", ls, [a("img", {
                class: "w-100 h-100",
                src: n(os),
                onClick: A
            }, null, 8, ds)])]), K(a("img", us, null, 512), [[p, n(ns)]]), L(c, {
                show: w.value
            }, {
                default: Q(()=>[a("div", ps, [a("div", ms, [a("img", {
                    class: "success-img",
                    src: n(as)
                }, null, 8, _s), vs, a("div", {
                    class: "success-button",
                    onClick: t[3] || (t[3] = h=>w.value = !1)
                }, "\u786E\u8BA4")])])]),
                _: 1
            }, 8, ["show"])])
        }
    }
};
var Ps = W(fs, [["__scopeId", "data-v-f8592524"]]);
export {Ps as default};
